package com.example.demo.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 购物车商品信息数据类型;
 */
public class ShopCartInformation {
    @JsonProperty("item_id")
    @JsonIgnore
    Integer itemId;
    @JsonProperty("item_selected")
    @JsonIgnore
    Integer iemSelected;
    @JsonIgnore
    @JsonProperty("item_cart_id")
    BigDecimal itemCartId;
    @JsonIgnore
    @JsonProperty("item_user_id")
    Integer itemUserId;
    @JsonIgnore
    @JsonProperty("item_sku_id")
    Integer itemSkuId;
    @JsonIgnore
    @JsonProperty("item_sku_price")
    BigDecimal itemSkuPrice;
    @JsonIgnore
    @JsonProperty("item_sku_count")
    Integer itemSkuCount;
    @JsonIgnore
    @JsonProperty("item_create_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date itemCreateDate;

    ShopCart shopCart;

    public ShopCart getShopCart() {
        return shopCart;
    }

    public void setShopCart(ShopCart shopCart) {
        this.shopCart = shopCart;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getIemSelected() {
        return iemSelected;
    }

    public void setIemSelected(Integer iemSelected) {
        this.iemSelected = iemSelected;
    }

    public BigDecimal getItemCartId() {
        return itemCartId;
    }

    public void setItemCartId(BigDecimal itemCartId) {
        this.itemCartId = itemCartId;
    }

    public Integer getItemUserId() {
        return itemUserId;
    }

    public void setItemUserId(Integer itemUserId) {
        this.itemUserId = itemUserId;
    }

    public Integer getItemSkuId() {
        return itemSkuId;
    }

    public void setItemSkuId(Integer itemSkuId) {
        this.itemSkuId = itemSkuId;
    }

    public BigDecimal getItemSkuPrice() {
        return itemSkuPrice;
    }

    public void setItemSkuPrice(BigDecimal itemSkuPrice) {
        this.itemSkuPrice = itemSkuPrice;
    }

    public Integer getItemSkuCount() {
        return itemSkuCount;
    }

    public void setItemSkuCount(Integer itemSkuCount) {
        this.itemSkuCount = itemSkuCount;
    }

    public Date getItemCreateDate() {
        return itemCreateDate;
    }

    public void setItemCreateDate(Date itemCreateDate) {
        this.itemCreateDate = itemCreateDate;
    }
}
